import request from '@/util/request';

export const weLogin = function(param){
	var url = '/login/weLogin';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const codeLogin = function(param){
	var url = '/login/codeLogin';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const bindPhone = function(param){
	var url = '/auth/bindPhone';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const passLogin = function(param){
	var url = '/login/passLogin';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}